package com.yt.order.models.bo;

        import io.swagger.annotations.ApiModelProperty;
        import lombok.Data;
        import java.io.Serializable;

/**
 * 工单评价SaveBO
 *
 * @author chen
 * @Date 2025-09-23 10:07:17
 */
@Data
public class WorkOrderEvaluationSaveBO implements Serializable {
    @ApiModelProperty(value = "评价ID（更新时必传）")
    private Long id;

    @ApiModelProperty(value = "关联工单ID（必传）", required = true)
    private Long orderId;

    @ApiModelProperty(value = "评价人ID（可选）")
    private Long evaluatorId;

    @ApiModelProperty(value = "被评价员工ID（必传）", required = true)
    private Long empId;

    @ApiModelProperty(value = "评价星级（1-5星，必传）", required = true)
    private Integer rating;

    @ApiModelProperty(value = "评价内容（可选）")
    private String evaluationContent;

    @ApiModelProperty(value = "评价图片URL（多图用逗号分隔，可选）")
    private String evaluationPic;

    @ApiModelProperty(value = "数据版本号（乐观锁控制，更新时必传）")
    private Integer revision;
}